<?php
ob_start();
defined('PHPUnit_MAIN_METHOD')
    or define('PHPUnit_MAIN_METHOD', 'AllTests::main');

require_once 'TestConfig.php';

require_once 'Madoqua/MadoquaAllTests.php';
/**
 * Static test suite.
 */
class AllTests extends PHPUnit_Framework_TestSuite
{

    /**
     * Constructs the test suite handler.
     */
    public function __construct()
    {
        $this->setName('AllTests');
        $this->addTestSuite('MadoquaAllTests');
        $this->run();
    }

    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }

    /**
     * Creates the suite.
     */
    public static function suite()
    {
        return new self();
    }
}

if (PHPUnit_MAIN_METHOD == 'AllTests::main') {
    AllTests::main();
}